-- card: 180029 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4507 -- name: -- part 1 (field) -- low flags: 01 -- high flags: 2004 -- rect: left=173 top=221 right=287 bottom=366 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 3 -- text size: 14 -- style flags: 256 -- line height: 14 -- part name: Sample text -- part 2 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=14 top=294 right=314 bottom=151 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Restore properties ----- HyperTalk script ----- on mouseUp set lockText of card field 1 to true set visible of card field 1 to true set textAlign of card field 1 to left set textFont of card field 1 to Geneva set textSize of card field 1 to 14 set textStyle of card field 1 to bold set textHeight of card field 1 to 14 end mouseUp -- part contents for background part 2 ----- text ----- Field properties (cont.) -- part contents for background part 43 ----- text ----- 335,253 -- part contents for background part 44 ----- text ----- lockText visible textAlign textFont textSize textStyle textHeight -- part contents for background part 1 ----- text ----- set lockText of card field "Sample text" to false set visible of card field "Sample text" to false set textAlign of card field "Sample text" to center --or left or right set textFont of card field "Sample text" to New York set textSize of card field "Sample text" to 14 set textStyle of card field "Sample text" to italic set textHeight of card field "Sample text" to 13 -- part contents for card part 1 ----- text ----- The textHeight property specifies space between lines